﻿using Idte.HumanResource.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.Communication.Media
{
    
    public class MediaIdentification
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }

        [ForeignKey("MediaId")]
        public Media Media { get; set; }
        public int? MediaId { get; set; }
        public bool IsPrimary { get; set; }


        [ForeignKey("CollectionId")]
        public MediaIdColl Collection { get; set; }
        public Guid? CollectionId { get; set; }
    }
}
